package vip.xiaonuo.supplier.modular.custom.objects.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import vip.xiaonuo.supplier.modular.custom.objects.entity.SupplierObjects;
import vip.xiaonuo.supplier.modular.custom.objects.param.SupplierObjectsAddParam;
import vip.xiaonuo.supplier.modular.custom.objects.param.SupplierObjectsEditParam;
import vip.xiaonuo.supplier.modular.custom.objects.param.SupplierObjectsIdParam;
import vip.xiaonuo.supplier.modular.custom.objects.param.SupplierObjectsPageParam;

import java.util.List;

/**
 * 业务对象Service接口
 *
 * @author Mr.wu
 * @date  2025/04/19 11:37
 **/
public interface SupplierObjectsService extends IService<SupplierObjects> {

    /**
     * 获取业务对象分页
     *
     * @author Mr.wu
     * @date  2025/04/19 11:37
     */
    Page<SupplierObjects> page(SupplierObjectsPageParam supplierObjectsPageParam);

    /**
     * 添加业务对象
     *
     * @author Mr.wu
     * @date  2025/04/19 11:37
     */
    void add(SupplierObjectsAddParam supplierObjectsAddParam);

    /**
     * 编辑业务对象
     *
     * @author Mr.wu
     * @date  2025/04/19 11:37
     */
    void edit(SupplierObjectsEditParam supplierObjectsEditParam);

    /**
     * 删除业务对象
     *
     * @author Mr.wu
     * @date  2025/04/19 11:37
     */
    void delete(List<SupplierObjectsIdParam> supplierObjectsIdParamList);

    /**
     * 获取业务对象详情
     *
     * @author Mr.wu
     * @date  2025/04/19 11:37
     */
    SupplierObjects detail(SupplierObjectsIdParam supplierObjectsIdParam);

    /**
     * 获取业务对象详情
     *
     * @author Mr.wu
     * @date  2025/04/19 11:37
     **/
    SupplierObjects queryEntity(String id);
}
